package com.share.strategicMode.task.service.impl;

import com.share.strategicMode.task.enums.TimeType;
import com.share.strategicMode.task.service.SupportTimeType;
import com.share.strategicMode.task.service.TaskService;
import org.springframework.stereotype.Component;

@Component
@SupportTimeType(TimeType.hour)
public class HourTaskService implements TaskService {
    @Override
    public String setTask() {
        return "小时任务设置成功";
    }
}
